package ants.bot;

import ants.map.Coordinate;
import ants.map.scent.Scent;
import ants.map.scent.ScentMap;

public class PeaceOption implements Comparable<PeaceOption> {

	private final Scent scent;
	private final int scentValue;
	private final Coordinate to;

	public PeaceOption(Coordinate to, Scent scent, int scentValue) {
		this.to = to;
		this.scent = scent;
		this.scentValue = scentValue;
	}

	@Override
	public int compareTo(PeaceOption other) {
		return ScentMap.compare(this.scentValue, other.scentValue);
	}

	public Scent getScent() {
		return scent;
	}

	public int getScentValue() {
		return scentValue;
	}

	public Coordinate getTo() {
		return to;
	}

}
